﻿<div class="with-progress tables-list" data-bind="spinner: spinner">
    <table class="data">
        <thead>
            <tr>
                <th class="name">Table Name
                </th>
                <th></th>
            </tr>
        </thead>
        <tbody data-bind="foreach: filteredTables">
            <tr data-bind="css: { current: $parent.context.tables.table() == $data.name() }">
                <td>
                    <a data-bind="href: $parent.getTableDetailsUrl($data), text: name, title: name"></a>
                </td>
                <td>
                    <a href="javascript:void(0)" data-bind="modalOpen: 'deleteTable', click: $parents[1].deleteDetails.init" class="remove" title="Remove table">delete</a>
                </td>
            </tr>
        </tbody>
    </table>
</div>
